﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data.SqlClient;

namespace Agresso.Interface.Layer.Domain
{
    public class asuheader
    {
        public string apar_id = string.Empty;
        public string apar_name = string.Empty;
        public string client = string.Empty;
        public string apar_gr_id = string.Empty;
        public string country_code = string.Empty;

        public asuheader()
        { }
        public asuheader(SqlDataReader rd)
        {
            apar_id = rd["apar_id"] is DBNull ? "" : rd["apar_id"].ToString();
            apar_name = rd["apar_name"] is DBNull ? "" : rd["apar_name"].ToString();
            client = rd["client"] is DBNull ? "" : rd["client"].ToString();
            apar_gr_id = rd["apar_gr_id"] is DBNull ? "" : rd["apar_gr_id"].ToString();
            country_code = rd["country_code"] is DBNull ? "" : rd["country_code"].ToString();

        }
    }
}
